home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 April / CHIP 1996 aprilis (CD06).zip / CHIP_CD06.ISO / sac / avir / vnlan.exe / MEMVIRUS.BAT < prev    next >
DOS Batch File  |  1994-05-11  |  2KB  |  30 lines

  1. rem This Netware example sends a network console message, displays a user
  2. rem message, logs the workstation off the network and then freezes the
  3. rem system.  It can be run when the LANSD Task Scheduler detects a
  4. rem VirusNet/Pro Errorlevel of 4 (memory virus).  Please consult your LANSD
  5. rem documentation for information on implementing Errorlevel detection.
  6.  
  7. rem Substitute the appropriate SEND and LOGOUT commands for your network.
  8.  
  9. rem A LANSD directory is made under the F:\LOGIN directory since the
  10. rem directory will still be accessible after the user is logged out of
  11. rem the network.  Copy your network's SEND and LOGOUT programs, the LANSD
  12. rem LOCKUP program, and this MEMVIRUS batch file to the f:\login\lansd
  13. rem directory.  Grant Read and Execute privileges in this directory.
  14. rem Do not grant Write or Modify privileges to these files since they will
  15. rem be run on virus-infected workstations!
  16.  
  17. @echo off
  18. f:\login\lansd\send "Workstation memory virus!" console
  19. echo ┌────────────────────────────────────────────────────────┐
  20. echo │ Virus infection found in workstation memory!           │█
  21. echo │                                                        │█
  22. echo │ Logging workstation off of network!                    │█
  23. echo │                                                        │█
  24. echo │ Please contact John immediately at Ext. 123 for help.  │█
  25. echo └────────────────────────────────────────────────────────┘█
  26. echo  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  27. f:\login\lansd\logout
  28. f:\login\lansd\lockup
  29.  
  30.